package com.mju.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.mju.model.Teacher;

public interface TeacherMapper {
    int deleteByPrimaryKey(String teacherno);

    int insert(Teacher row);

    int insertSelective(Teacher row);

    Teacher selectByPrimaryKey(String teacherno);

    int updateByPrimaryKeySelective(Teacher row);

    int updateByPrimaryKey(Teacher row);
    
	//批量插入，导入数据用
	int batchInsert(@Param("list")List<Teacher> list);
	
    //批量删除，导入数据用
    int batchDelete(@Param("list") List<Teacher> list);
    
    List<Teacher> selectList();
}